﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DisplaySurvey2.aspx.cs" Inherits="DisplaySurvey2" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Enviroment Survey</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link href="styles.css" rel="stylesheet" type="text/css" media="screen" />

    <link rel="icon" href="favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <style type="text/css">
        .auto-style1 {
            color: #CC0000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="content">
            <div id="back_all">
                <div id="logo" style="margin-bottom: 50px;">
                </div>

                <div id="main" style="padding-left: 100px; font-size: 14px;">

                    <%--show survey from xml file--%>
                    <br />
                    <h1 style="text-align: center">
                        <asp:Label ID="lblTitle" runat="server">Bài khảo sát 2!</asp:Label></h1>
                    <br />
                    <asp:Repeater ID="Repeater1" runat="server">
                        <HeaderTemplate>
                            <ol>
                        </HeaderTemplate>
                        <ItemTemplate>

                            <b>
                                <li>
                                    <asp:Label ID="lblQuess" runat="server" Text='<%# Eval("question") %>'></asp:Label><br />
                                </li>
                            </b>

                            <asp:RadioButton GroupName="1" ID="cbAns1" runat="server" Text='<%# Eval ("ans1") %>' /><br />
                            <asp:RadioButton GroupName="1" ID="cbAns2" runat="server" Text='<%# Eval ("ans2") %>' /><br />
                            <asp:RadioButton GroupName="1" ID="cbAns3" runat="server" Text='<%# Eval ("ans3") %>' /><br />
                            <asp:RadioButton GroupName="1" ID="cbAns4" runat="server" Text='<%# Eval ("ans4") %>' /><br />
                            <br />
                        </ItemTemplate>
                        <FooterTemplate>
                            </ol>
                        </FooterTemplate>
                    </asp:Repeater>
                    
                    <br />
                    <table style="width: 100%; text-align: center">
                        <tr>
                            <td>
                                <asp:Button ID="btnBack" runat="server" Text="Back" OnClick="btnBack_Click" /></td>
                            <td>
                                <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" /></td>
                        </tr>

                    </table>

                </div>
            </div>
        </div>
        
        <div id="footer">
            <p>Copyright &copy; 2008.</p>
            <p>FPT_GC0807_Group 3</p>
        </div>
    </form>
</body>
</html>



